INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../core)

SET(TRYPHYSICS_SOURCES physics.h physicsmanager.cpp physicsworld.cpp rigidbody.cpp softbody.cpp motionstate.cpp)

ADD_LIBRARY(TryPhysics SHARED ${TRYPHYSICS_SOURCES})

TARGET_LINK_LIBRARIES(TryPhysics ${BULLET_LIBRARIES})
TARGET_LINK_LIBRARIES(TryPhysics TryCore)
